<?php
    if($level->num_rows()>0)
    {
        $aRow=$level->row(); 
    }
?>
<div id="wrapper-content" style="width: 600px;">
<table class="titrepage" width="100%">
        <tr>
            <td >Modifier type d'annonce</td>
        </tr>
    </table>
<?php echo form_open('animus_admin/update_level'.'/'.$aRow->id) ?>
    <table align="center" width="100%" class="list">
        <tr>
            <td>Nom:</td>
            <td><input type="text"  value="<?php echo $aRow->name; ?>" size="40" name="name" disabled="true">
            </td>
        </tr>
        <tr>
            <td>Durée:</td>
            <td><input type="text" value="<?php echo $aRow->day_allow; ?>" size="40" name="day">
            <?php echo form_error('day'); ?></td>
        </tr>
        <tr>
           <td></td> <td><input type="submit" name="submit" value=" Enregistrer "/></td>
        </tr>
    </table>
 <?php echo form_close() ;?>   
</div>
<!--END wrapper-content-->
